// API端点
export const API_URLS = {
  // 授权模块
  LOGIN: '/auth/login',
  LOGOUT: '/auth/logout',
  SMS_LOGIN: '/auth/smsLogin',
  CHECK_QR_STATUS: '/auth/checkQRStatus',
  MENU_LIST: '/menu/list',
  PASSWORD_LOGIN: '/auth/passwordLogin',
  REGISTER: '/auth/register',
  SEND_CAPTCHA:'/auth/captcha',
  GET_CODE: '/auth/getCode',
  AUTH_VERIFY_TOKEN: '/auth/verify/token',
  REFRESH_TOKEN: '/auth/refresh-token',
  AUTH_VERIFY: '/api/auth/verify',
  CREATE_USER: '/admin/create/user',
  UPDATE_USER: '/admin/update/user',
  DELETE_USER: '/admin/delete/user',
  BATCH_DELETE_USER: '/admin/batch/delete/users',  
  // 角色模块

  GET_USER_LIST: '/admin/user/list',
  GET_USER_INFO: '/admin/get/info',
  GET_USER_ROLE_LIST: '/role/list',
  GET_USER_ROLE_INFO: '/role/info',
  GET_USER_ROLE_MENU: '/role/menu',
  GET_USER_ROLE_PERMISSION: '/role/permission',
  GET_USER_ROLE_PERMISSION_LIST: '/role/permission/list',
  GET_USER_ROLE_PERMISSION_INFO: '/role/permission/info',
  GET_USER_ROLE_PERMISSION_TREE: '/role/permission/tree',
  GET_USER_ROLE_PERMISSION_LIST_BY_ROLE_ID: '/role/permission/listByRoleId',
  GET_SYSTEM_INFO: '/system/info',
  // 上传模块
  UPLOAD_URL:'/admin/upload',
  UPLOAD_VERIFY:'/upload/verify/file',
  UPLOAD_CHUNK_INIT:'/upload/chunk/init',
  UPLOAD_CHUNK:'/upload/chunk/file',
  UPLOAD_MERGE:'/upload/merge/file',
  UPLOAD_DELETE:'/upload/delete/file',
  // 文件模块
  GET_FILE_LIST:'/file/list',
  GET_FILE_DETAIL:'/file/detail',
  DELETE_FILE:'/file/delete',
  CREATE_FILE:'/file/create',
  UPDATE_FILE:'/file/update',

  // 商品模块
  PRODUCT_LIST:'/product/list',
  PRODUCT_CATEGORY_LIST:'/product/category/list',
  PRODUCT_DETAIL:'/product/detail',
  PRODUCT_CREATE:'/product/create',
  PRODUCT_DETAIL_SKUS:'/product/detail/skus',
  PRODUCT_UPDATE:'/product/update',
  PRODUCT_DELETE:'/product/delete',
  PRODUCT_DELETE_LIST:'/product/deleteList',
  PRODUCT_RESTORE:'/product/restore',
  PRODUCT_RESTORE_LIST:'/product/restoreList',
  // 商品规格模块
  SPEC_TYPES_LIST:'/product/spec-types/list',
  SPEC_TYPES_CREATE:'/product/spec-types/create',
  SPEC_TYPES_UPDATE:'/product/spec-types/update',
  SPEC_TYPES_DELETE:'/product/spec-types/delete',
  SPEC_TYPES_DELETE_LIST:'/product/spec-types/deleteList',
  SPEC_TYPES_RESTORE:'/product/spec-types/restore',

} as const